﻿using ModernUILogViewer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ModernUILogViewer.ViewModel
{
    public class LogEntryViewModel
    {
        LogEntry logEntry;

        public LogEntryViewModel(LogEntry logEntry)
        {
            this.logEntry = logEntry;
        }

        public DateTime DTime { get { return logEntry.DTime; } }
        public string Message { get { return logEntry.Message; } }
        public int Line { get { return logEntry.Line; } }
        public LOG_LEVEL Level { get { return logEntry.Level; } }
        public int FileIndex { get; set; }
    }
}
